package cn.iocoder.yudao.module.system.controller.admin.user.vo.scores;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 用户分数新增/修改 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserScoresSaveReqVO extends UserScoresBaseVO {

    @Schema(description = "分数记录ID", example = "1024")
    private Long id;

    @Override
    @NotNull(message = "用户ID不能为空")
    public Long getUserId() {
        return super.getUserId();
    }

}